package com.dt.app.modules;

import com.dt.app.modules.shopping.vo.DsCategoryBean;
import com.dt.app.modules.shopping.vo.DsProductBean;
import com.dt.app.modules.shopping.vo.DsPromotionBean;
import com.dt.app.modules.test.vo.HyUserBean;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

// GET http://localhost:9090/api/ws/v1/index
@Data
@ApiModel
public class IndexBean {
    @ApiModelProperty("会员信息")
    private HyUserBean hyUser;
    @ApiModelProperty("顶部促销信息")
    private List<DsPromotionBean> topPromotion;//最多2个  membershipLevel==1

    @ApiModelProperty("中部促销信息")
    private List<DsPromotionBean> mainPromotion;//最多3个   membershipLevel==2

    @ApiModelProperty("推广信息")
    private List<DsProductBean> indexProduct;//20个  前20条 buy_seq desc , seq desc

    @ApiModelProperty("栏目信息")
    private List<DsCategoryBean> categoryBean;//前50条
}
